package com.ruoyi.article.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class reviewData {

    //评论id
    private Long id;
    //评论父id
    private Long parent_id;
    //被回复的评论id
    private Long reply_id;
    //被回复人名称
    private String reply_name;
    //评论用户id
    private Long user_id;
    //评论用户名称
    private String user_name;
    //评论用户头像
    private String user_avatar;
    //评论内容
    private String user_content;
    //当前用户是否点赞
    private Boolean is_like;
    //点赞数
    private Long like_count;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    //评论时间
    private Date create_time;
}
